package com.lq.ecoldchain.ui.goodstype


import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.lq.ecoldchain.R
import com.lq.ecoldchain.entity.GoodsTypeBean

/*
*2019/1/10 0010  11:54
*function by lq
*/
class GoodsTypeRecyclerAdapter(list:List<GoodsTypeBean>): BaseQuickAdapter<GoodsTypeBean, BaseViewHolder>(R.layout.recycler_type_item,list){
    override fun convert(helper: BaseViewHolder, item: GoodsTypeBean) {
        helper.setText(R.id.carTypeNameTv,item.name)
        helper.addOnClickListener(R.id.goodsItemLl)
    }

}